﻿//---------------------------------------------------------------
// <copyright company="CounterSoft Limited">
//     Copyright (c) CounterSoft Limited. All rights reserved.
// </copyright> 
//---------------------------------------------------------------
using System;
using System.Windows.Forms;
using CounterSoft.Gemini.Logging;

namespace CounterSoft.Gemini.SnagIt
{
    static class Program
    {
        [STAThread]
        static void Main()
        {
            string[] args = Environment.GetCommandLineArgs();

            DiagnosticsManager.ApplicationName = "CounterSoft.Gemini.SnagIt";
            DiagnosticsManager.TraceMessage("Arguments:" + args.Length);

            foreach (string s in args)
            {
                DiagnosticsManager.TraceMessage("Argument:" + s);
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new SnagItForm(args));
        }
    }
}
